/**
 * Description:
 * User:岁亮亮
 * Date:2025-03-11
 * TIME:8:42
 */
public class Test {
    public static void main(String[] args) {
        SearchTree tree = new SearchTree();
        tree.insert(5);
        tree.insert(1);
        tree.insert(3);
        tree.insert(2);
        tree.insert(10);
        tree.insert(6);
        tree.insert(9);
        tree.insert(8);
        tree.insert(7);
        tree.print();
        //System.out.println(tree.search(11));
        tree.remove(10);
        tree.print();
    }
}
